﻿using Common.Infrastructure;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StatsData.Data.Entity
{
    /// <summary>
    /// 层级看板 - 人员出勤
    /// </summary>
    public class t_bi_depart_attendance : EntityBase
    {
        /// <summary>
        /// 部门编号
        /// </summary>
        [EntityFieldLength(50)]
        public string department_code { get; set; }

        public string department_name { get; set; }

        public string department_name_en { get; set; }

        public string department_name_th { get; set; }

        /// <summary>
        /// 班别
        /// </summary>
        public string class_id { get; set; }

        /// <summary>
        /// 日期
        /// </summary>
        [EntityFieldIndex]
        public DateTime time { get; set; }

        /// <summary>
        /// 应到人数
        /// </summary>
        public decimal employee_count { get; set; }

        /// <summary>
        /// 新员工
        /// </summary>
        public decimal new_employee_count { get; set; }

        /// <summary>
        /// 实到人数
        /// </summary>
        public decimal present_employee_count { get; set; }

        /// <summary>
        /// 请假人数
        /// </summary>
        public decimal leave_employee_count { get; set; }
    }
}
